﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<section data-page="type_list" data-title="类型列表" data-lang="<%=ContentLang%>">
	<dl class="path1">
		<dt><span>您的位置：</span>类型列表</dt>
		<dd>
			<select data-ali-widget="combo" data-class="<%=ContentLang%>Font">
				<ali:List Mark="System" Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<div class="ali-tabs sub-nav" data-height-style="fill" data-event="click">
		<div class="ali-tabs-header">
			<div class="ali-tabs-nav-container">
				<ul>
					<li class="ali-active"><a>类型列表</a></li>
					<li><a href="add.aspx?Lang=<%=ContentLang%>" target="ali-navtab">添加类型</a></li>
					<li><a href="replace.aspx?Lang=<%=ContentLang%>" target="ali-navtab">批量替换</a></li>
				</ul>				
			</div>
		</div>
		<div class="ali-tabs-body">
			<div class="ali-tabs-panel">
				<div class="content">
					<table data-ali-widget="grid" class="grid1">
						<thead>
							<tr>
								<th width="40">编号</th>
								<th>名称</th>
								<th width="100">资源列表</th>
								<th width="100">添加资源</th>
								<th width="100">删除</th>
							</tr>
						</thead>
						<tbody>
							<ali:List Object="Type" Validate="True">
								<ali:Record>
									<tr data-id="<%=InnerID%>">
										<td><%=InnerID%></td>
										<td class="<%=ContentLang%>Font"><a href="edit.aspx?Lang=<%=ContentLang%>&amp;ID=<%=InnerID%>" target="ali-navtab"><%=Name%></a></td>
										<td><a href="resource/list.aspx?Lang=<%=ContentLang%>&amp;TypeID=<%=InnerID%>" target="ali-navtab">资源列表</a></td>
										<td><a href="resource/add.aspx?Lang=<%=ContentLang%>&amp;TypeID=<%=InnerID%>" target="ali-navtab">添加资源</a></td>
										<td><a href="" class="ali-button" data-operation="Delete">删除</a></td>
									</tr>
								</ali:Record>
							</ali:List>
						</tbody>
					</table>
				</div>
			</div>
		</div>
		<div class="ali-tabs-bottom"><b></b></div>
	</div>
</section>